package com.neusoft.entity;

import java.util.Date;

public class Emp {

	private int empno;
	private int deptno;
	private String ename;
	private double sal;
	private String job;
	private Date hireDate;
	
	@Override
	public String toString(){
		return "Emp [empno:"+empno+",deptno:"+deptno+",ename:"+ename+",sal:"+sal+",job:"+job+
				",hireDate:"+hireDate+"]";
	}
	
	public Emp(){
		
	}
	public Emp(int empno,int deptno,String ename,double sal,String job,Date hireDate){
		super();
		this.empno=empno;
		this.deptno=deptno;
		this.ename=ename;
		this.sal=sal;
		this.job=job;
		this.hireDate=hireDate;
	}
	
	public int getEmpno() {
		return empno;
	}
	public void setEmpno(int empno) {
		this.empno = empno;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public double getSal() {
		return sal;
	}
	public void setSal(double sal) {
		this.sal = sal;
	}
	public int getDeptno() {
		return deptno;
	}
	public void setDeptno(int deptno) {
		this.deptno = deptno;
	}
	public Date getHireDate() {
		return hireDate;
	}
	public void setHireDate(Date hireDate) {
		this.hireDate = hireDate;
	}
	
	
}
